package com.online.sessionmanageserver.service;

import com.online.sessionmanageserver.domain.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: liuqing
 * @Despriction:
 * @Date:Created in 2018/5/3 11:03
 * @Modify By:
 */
@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public List<Integer> getCId(int aId) {
        return userMapper.getCompanyId(aId);
    }
}
